{extend name="base" /}
{block name="title"}小程序{/block}

{block name="main"}
<div class="zbd-main">
	<div class="page">

		<div class="row">
			<div class="w2">
		        <div class="box">
		        	<div class="box-title">
						<div class="left small black">小程序导航</div>
					</div>
				    <div class="box-content">
				    	{foreach $arrs['type_list'] as $key => $val}
				    	<p>
				    		<a href="/programs?type={$val['type']}" title="{$val['type']}" class="plt-info-type {$val['type'] == $info['type'] ? 'typeed' : ''}">
				    			{$val['type']} 
				    			{if condition="$val['type'] == $info['type']"}
				    			<i class="icon ice-arrow-triangle-r right"></i>
				    			{/if}
				    		</a>
				    	</p>
				    	{/foreach}
				    </div>
				</div>
		    </div>

		    <div class="w7">
		        <div class="box">
		        	<div class="top-border">
						<div class="text-center black mt20 title-h3">{$info['name']}</div>
					</div>
				    <div class="box-content">
				    	<div class="row">
				    		<div class="w2">
				    			<div class="pls-info-pic">
				    				<img class="" src="{$info['avatar']}" alt="{$info['name']}">
				    			</div>
				    		</div>
				    		<div class="w7">
				    			<div class="top-border-1"></div>
				    			<div class="row">
				    				<div class="w9 small">
				    					<p class="lep2">
				    						<span class="gray">所属分类:</span>
				    						<span class="blue">{$info['type']|default='-'}</span>
				    					</p>
				    				</div>
				    				<div class="w3 small">
				    					<p class="lep2">
				    						<span class="gray">热度:</span>
				    						<span class="red">{$info['views']|default='-'}</span>
				    					</p>
				    				</div>
				    				<div class="w12 small">
				    					<p class="lep2">
				    						<span class="gray">官方网站:</span>
				    						<span class="blue">{$info['website']|default='-'}</span>
				    					</p>
				    				</div>
				    				<div class="w12 small">
				    					<p class="lep2">
				    						<span class="gray">主体名称:</span>
				    						<span class="blue">{$info['bodys']|default='-'}</span>
				    					</p>
				    				</div>
				    				<div class="w12 small">
				    					<p class="lep2">
				    						<span class="gray">添加时间:</span>
				    						<span class="gray2">{$info['dates']|default='-'}</span>
				    					</p>
				    				</div>
				    			</div>
				    		</div>
				    		<div class="w3">
				    			<div class="pls-info-code text-center">
				    				<img class="" src="{$info['qrcode']}" alt="{$info['name']}">
				    			</div>
				    		</div>
				    	</div>
				    </div>
				</div>

				<div class="box mt20">
		        	<div class="box-title">
						<div class="left small black">小程序介绍</div>
					</div>
				    <div class="box-content">
				    	<div class="content">{$info['content']}</div>
				    </div>
				</div>

				<div class="box mt20">
		        	<div class="box-title">
						<div class="left small black">小程序（{$info['name']}）内容版权申明</div>
					</div>
				    <div class="box-content">
				    	<p class="small black">1、本文小程序数据来源于{$info['name']}（{$info['website']|default='-'}）版权归小程序所有。</p>
				    	<p class="small black">2、本系统 收录{$info['name']}时，该内容和访问都正常，如您发现有异，请联系网站管理员处理。</p>
				    	<p class="small black">3、本系统 仅提供{$info['name']}的信息展示平台，不承担相关法律责任。</p>
				    	<p class="small black">4、所有内容数据来源于互联网整理或者网友提供上传。</p>
				    </div>
				</div>

				<div class="box mt20">
		        	<div class="box-title">
						<div class="left gray2">
							<span class="small">上一个小程序：</span>
							{if condition="$shang['name']"}
							<a href="/programs/info?id={$shang['id']}" class="small blue">{$shang['name']|default='没有上一个了'}</a>
							{else} 
							<span class="small gray">没有上一个了</span>
							{/if}
						</div>
						<div class="right gray2">
							<span class="small">下一个小程序：</span>
							
							{if condition="$xia['name']"}
							<a href="/programs/info?id={$xia['id']}" class="small blue">{$xia['name']|default='没有上一个了'}</a>
							{else} 
							<span class="small gray">没有下一个了</span>
							{/if}
						</div>
					</div>
				</div>

		    </div>

		    <div class="w3">
		    	<div class="box">
		    		<div class="zbd-sign">
		    			<div class="row">
		    				<div class="w4">
		    					<div class="qiandao icon ice-calendar cursor-pointer" title="立刻签到"> 签到</div>
		    				</div>
		    				<div class="w8">
		    					<div class="qd-info">
		    						<div class="qd-col">
		    							<span class="small block qd-tip bdx"><i class="icon ice-user-chart smallicon"></i> 219 人</span>
		    							<span class="small block qd-tip"><i class="icon ice-time smallicon"></i> 签到信息</span>
		    						</div>
		    						<div class="qd-col text-center">
		    							<span class="small block qd-tip">星期一</span>
		    							<span class="small block qd-tip">06月09日</span>
		    						</div>
		    					</div>
		    				</div>
		    			</div>
		    		</div>
		    	</div>

		        <div class="box mt20">
		        	<div class="box-title">
						<div class="left small black"><i class="icon ice-time"></i> 热门小程序</div>
					</div>
			    	<div class="box-content">
				    	<div class="item-list">
				    		{foreach $arrs['new_programs'] as $key => $val}
				    		<div class="item">
				    			<div class="img91622">
				    				<a href="/programs/info?id={$val['id']}" title="{$val['name']}">
				    					<img src="{$val['qrcode']}" class="img91622" alt="{$val['name']}">
				    				</a>
				    			</div>
				    			<div class="info">
				    				<div class="black">
				    					<a href="/programs/info?id={$val['id']}" title="{$val['name']}" class="black">{$val['name']}</a>
				    				</div>
				    				<div class="ddesc">{$val['content']}
				    				</div>
				    			</div>
				    		</div>
				    		{/foreach}
				    	</div>
				    </div>
				</div>
		    </div>
		</div>
	</div>
</div>
{/block}

{block name="js"}

{/block}